package com.cloud.lesson.service;

import org.springframework.stereotype.Component;

/**
 * @author: Mr.Lai
 * @createTime: 2021/01/08
 * @classNote:
 **/
@Component
public class PaymentFallbackService implements PaymentHystixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentFallbackService paymentInfo_OK fall back, o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-----PaymentFallbackService paymentInfo_TimeOut fall back, o(╥﹏╥)o";
    }
}
